package edu.spec.basic.dao.iface;

import edu.spec.basic.model.Command;
import org.madgecko.basic.dao.IBaseDao;

import java.util.List;

public interface ICommandDao extends IBaseDao<Command> {
	void deleteCommandByModule(int moduleId);
    List<Command> listAllCommand();
	List<Command> listCommandByModule(int moduleId);
    List<Command> listCommandByRoles(List<Integer> roleIds);
    List<Command> listCommandByRole(Integer roleId);
    List<Command> listCommandByUser(Integer userId);
}
